import { GetterTree } from 'vuex'
import { construct } from "@aximario/json-tree";
export const getters: GetterTree<any, any> = {
    all({ all }) {
        return all;
    },
    agentMenu({ agentMenu }) {
        return construct(agentMenu, {
            id: 'menu_sn',
            pid: 'menu_psn'
        });
    },
    yardParkmenu({ yardParkmenu }) {
        return construct(yardParkmenu, {
            id: 'menu_sn',
            pid: 'menu_psn'
        });
    },
    agentParkMenu({ agentParkMenu }) {
        return construct(agentParkMenu, {
            id: 'menu_sn',
            pid: 'menu_psn'
        });
    }
}